package xin.mydreams.mybill.widget.bill.entity;


import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import xin.mydreams.mybill.widget.home.entity.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 记账实体类
 */
@Setter
@Getter
@ToString
@NoArgsConstructor
@Entity
@Table(name = "bill")
@JsonIdentityInfo(generator = ObjectIdGenerators.UUIDGenerator.class, property = "@id")
public class Bill extends BaseEntity {

    /**
     * 金额
     */
    private double money;

    /**
     * 备注
     */
    private String remarks;

}
